home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12633 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: news.itsyd.bhp.com.au!news
  2. From: Richard Bowen <bowen.richard.rw@bhp.com.au>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Will JAVA kill C++?
  5. Date: Thu, 21 Mar 1996 10:03:40 +1000
  6. Organization: BHP IT
  7. Message-ID: <31509CDC.F84@bhp.com.au>
  8. References: <313E44EA.14D110C0@netcom.com> <4hp18v$3di@frodo.smartlink.net> <4hq2j6$q93@galaxy.ucr.edu> <4ie2m7$5re@hn.ocbbs.gen.nz> <DoI1Gw.BF3@dowco.com>
  9. NNTP-Posting-Host: 134.18.154.118
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (WinNT; I)
  14.  
  15. steve@hn.ocbbs.gen.nz (Steve Detoni) wrote:
  16.  
  17. [snip]
  18. >: :    Java main advantage, and a large advantage it is, will be complete
  19. >: : cross-platform compatibility.  Meaning any JAVA program will run on any
  20. >: : machine which has an interpreter programmed for it.
  21. >: Just like C++, no?  Either language can be compiled into an
  22. >: efficiently interpretable pseudo-code.  Perhaps, someone will retarget
  23. >: g++ to the JAVA pseudo-machine, just to prove the point.
  24. >I had a look at JAVA within a book at a book store, at first glance I
  25. >thought it was c++, and could find little difference between the two
  26. >syntaxitly in the what code saw. Why would anyone re-event a langauge
  27. >(i.e. C)?
  28.  
  29. >Steve.
  30.  
  31.  
  32. Yes the language is a lot like C and C++, but the important 
  33. feature that makes the difference is that it comes with GUI 
  34. classes as part of the language.  Sure C++ code is portable, 
  35. but as soon as you want to make a dialog, draw some graphics, 
  36. build menus, or play some sounds, you use non portable code, 
  37. that can only work on one of Windows/Mac/Unix etc.
  38.  
  39. With Java you can build an application that can make dialogs, 
  40. draw graphics, build menus, and play sound, and you can take 
  41. the equivalent of the .exe file and run it on Windows/Unixs
  42. and soon Macs.
  43.  
  44. That is such a vital feature.  Imagine developing an app 
  45. just as you do now, and run it on any OS.  Java will 
  46. revolutionize the software industry.  Think about it.
  47.  
  48. - Richard
  49.